#!/bin/sh
mkdir -p pkg/USRDIR/roms
mkdir -p pkg/USRDIR/lib
cp ui/widget/fuse.font pkg/USRDIR
cp roms/*.rom pkg/USRDIR/roms
cp lib/*.szx lib/*.scr lib/*.bmp pkg/USRDIR/lib
make_self_npdrm fuse pkg/USRDIR/EBOOT.BIN UP0001-HBFS90000_00-0000000000000000
pkg.py --contentid UP0001-HBFS90000_00-0000000000000000 pkg/ fuse-dongle.pkg
cp fuse-dongle.pkg fuse-cfw.pkg
package_finalize fuse-cfw.pkg

